import { createApp } from 'vue'
import {createPinia} from 'pinia'
import "amfe-flexible/index.js";
import './style.css'
import App from './App.vue'
import router from './router/index'
const app = createApp(App)
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import i18Plugin from './plugins/i18'
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
const Pinia = createPinia()
app.use(Pinia)
app.use(router).use(i18Plugin,{
  'submit':'提交'
}).mount('#app')
